home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
CICA 1993 April
/
CICA MS Windows - April 1993.iso
/
unzipped
/
programr
/
tp
/
wint_t
/
install.bat
next >
Wrap
DOS Batch File
|
1991-10-10
|
1KB
|
43 lines
echo off
REM Revised install program 10/91 DRT
cls
echo ┌────────────────────────────────────────────────┐
echo │ INSTALL │
echo │ Turbo Pascal for Windows │
echo │ Turbo Utilities and Tips & Techniques Disk │
echo │ Copyright (c) 1991 by Borland International │
echo └────────────────────────────────────────────────┘
echo
if %1x==x goto ParmErr
if %2x==x goto ParmErr
echo
echo Ready to install from %1 to %2
echo This will overwrite older versions of the files
echo Press Ctrl-C to stop or any key to continue...
pause > nul
md %2 > nul
cd %2
copy %1*.* %2
rem /O for overwrite /D for install into subdirectories
for %%i in (%2\*.zip) do %2\unzip %%i %2 /o /d
goto Success
:ParmErr
echo Install %1 %2 %3 %4 %5
echo
echo Error: Missing or illegal parameters
echo
echo Usage: INSTALL SRC: DEST:
echo e.g. INSTALL A: C:\TPWBONUS
goto Fail
echo
:Fail
echo INSTALL unsuccessful
goto End
:Success
cls
echo INSTALL successful
echo Enjoy your TPW Utilities and Demos!
echo
:End
echo